home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #2
/
Monster Media No. 2 (Monster Media)(1994).ISO
/
utils1
/
dosmenu6.zip
/
DMSAMPLE.DOC
< prev
next >
Wrap
Text File
|
1994-05-22
|
3KB
|
98 lines
EXAMPLE MENU FILE
══════════════════════════════════════════════════════════════════════════════
The below network menu file example is listed with a generous helping of legal
and illegal comments. Note that comments must commence only at the start of a
line and NOT at the middle to end of a line even though we use it here to
better comment the code for you.
;The menu name for this overall main menu below.
%Our Network Menu, 10, 5 ;Numbers optional: 10 = x, 5 = y on screen
; placement of upper left corner of menu window
;This server section means any server and/or a stand-alone environment.
;These commands will be at the top of every user's menu.
;Note the required blank line before the :SERVER_NAME line
:ALL
M Mail
;All members of EMAIL_USERS will get the Mail menu item.
{g=email_users}
;The help line for this item (shown at the bottom of the screen)
#Send and receive mail to and from other users
;If selected, the command/permanent batch file EMAIL will be run.
email
;This section is for CENTRAL server users only.
:CENTRAL
P Paradox
{g=support,paradox} {p=restrict}
#Database program
f: ;A multi-command item that
cd\apps\paradox ; generates a temp batch file.
paradox ;
W WordPerfect
{g=wp_central} {m=wp51:25} ;Metered for 25 instances.
#Word processor
f:\apps\wp51\wp
;The next item ask a yes/no question first.
C Check printing
{u=check_printer} {q=Are you sure you want to print checks?}
#Print all due checks to the upstairs printer
checkprt
I INSAPP
{g=insapp_users,support;u=adm} {s=server1}
#Our main database
ins
S Support Menu ;Another complete menu file which is called
/load support ; with this line.
A Accounting Menu ;Another complete menu file which is called
/menu acctng ; with this line and becomes the default menu.
N Support Batch ;Chain to a new startup batch file; here
/new g:\login\support ; G:\LOGIN\SUPPORT.BAT.
;This section is for BRANCH_ONE server users only.
:BRANCH_ONE
A Central connection
{g=awlan}
#Connect with the home office by modem
connect
W WordPerfect
{g=wp_branch}
#Word processor
wp
;This server section means any server and/or a stand-alone environment.
;These commands will be at the bottom of every user's menu.
:ALL
U Utility Menu
#Various utilities
%Utility Menu
B Backup Server Menu
#Backup options
%Backup Server Menu
L Logout of network
{q=Are you sure?}
#Log out of the network
logout ;You could also enter 'goto end' to simply quit
; the menu system, if desired.
;Remember to place a blank line before all %SUB-MENU NAME lines
%Utility Menu, 5, 10 ;Display at xy coords 5 and 10 on screen.
P Change your network printer
capture @ ;This command asks a question first.
D Directory of...
#Obtain a directory listing
dir @ /p ;This command asks a question first.
D Directory of (another way)...
echo Directory of what?
dmquery 1 ;DMquery external batch utility.
echo Switches (/w /p, etc)?
dmquery 2
dir %_dmq1% %_dmq2%
pause
%Backup Server Menu
D Daily backup procedure
bud
W Weekly backup procedure
buw